|
Menu location |
---|
View → Standard views → Fit selection |
Workbenches |
All |
Default shortcut |
V S |
Introduced in version |
- |
See also |
Std ViewFitAll |
The Std ViewFitSelection command zooms and pans the camera so that all selected objects fit inside the active 3D view. This command is useful if for some reason objects are beyond the boundaries of the current 3D View or can't easily be found using 3D navigation.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The SendMsgToActiveView
method of the FreeCADGui object can be used to zoom the active view to fit selection.
import FreeCADGui
FreeCADGui.SendMsgToActiveView("ViewSelection")